﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="HealthVisitPlanFinForm.aspx.cs" Inherits="App_Input_HealthVisitPlanFinForm"
    Title="家访计划完成画面" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="javascript">
        function openMemberFood(memberNo){
            var url  = "../Input/HealthDietAdviceForm.aspx";
	        var prm  = "?MEMBER_NO=" + memberNo;
	        url += prm;
	        var win = window.open(url,'DietAdviceForm','scrollbars,resizable,height=460,width=500');
	        win.focus();
        }
        function openMemberLife(memberNo){
            var url  = "../Input/HealthLifeAdviceForm.aspx";
	        var prm  = "?MEMBER_NO=" + memberNo;
	        url += prm;
	        var win = window.open(url,'DietAdviceForm','scrollbars,resizable,height=460,width=500');
	        win.focus();
        }
        function openMemberDisease(memberNo){
            var url  = "../Input/HealthDiseaseForm.aspx";
	        var prm  = "?MEMBER_NO=" + memberNo;
	        url += prm;
	        var win = window.open(url,'DiseaseForm','scrollbars,resizable,height=460,width=500');
	        win.focus();
        }
        function openMemberCaseHistory(memberNo){
            var url  = "../Input/HealthCaseHistoryForm.aspx";
	        var prm  = "?MEMBER_NO=" + memberNo;
	        url += prm;
	        var win = window.open(url,'HealthCaseHistoryForm','scrollbars,resizable,height=460,width=500');
	        win.focus();
        }
    </script>

    <table width="100%">
        <tr>
            <td>
                <table class="table_border_line">
                    <tr>
                        <td align="left" colspan="6">

                            <script language="javascript">
                                        (new TitleBar('SearchBar', '家访计划制定')).showBar();
                            </script>

                        </td>
                    </tr>
                </table>
                <table class="table_border_line" style="background: ffffff">
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td align="left" class="list_data_bg_left" style="width: 20%">&nbsp;保健医生编号：</td>
                        <td align="left" style="width: 25%">&nbsp;<asp:Label ID="lblDocId" runat="server"
                            Text=""></asp:Label></td>
                        <td style="height: 24px; width: 20%"></td>
                        <td style="height: 24px; width: 25%"></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px;">&nbsp;</td>
                        <td style="width: 1120px" align="left" class="list_data_bg_left">&nbsp;会员编号：</td>
                        <td style="width: 344px" align="left">&nbsp;<asp:Label ID="lblMemId" runat="server"
                            Text=""></asp:Label></td>
                        <td class="list_data_bg_left" style="width: 188px"></td>
                        <td style="width: 344px"></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px">&nbsp;</td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;会员姓名：</td>
                        <td style="width: 344px">&nbsp;<asp:Label ID="lblMemName" runat="server" Text=""></asp:Label></td>
                        <td class="list_data_bg_left" style="width: 188px">会员性别：</td>
                        <td style="width: 414px">&nbsp;<asp:Label ID="lblMemSex" runat="server" Text=""></asp:Label></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;联系电话：</td>
                        <td style="width: 344px">&nbsp;<asp:Label ID="lblMemTel" runat="server" Text=""></asp:Label></td>
                        <td class="list_data_bg_left" style="width: 188px">房间编号：</td>
                        <td style="width: 414px">&nbsp;<asp:Label ID="lblRoomId" runat="server" Text=""></asp:Label></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;家访类别：</td>
                        <td style="width: 344px">&nbsp;<asp:Label ID="lblVisitingType" runat="server">
                        </asp:Label></td>
                        <td class="list_data_bg_left" style="width: 188px">家访级别：</td>
                        <td style="width: 344px">&nbsp;<asp:Label ID="lblVisitingLevel" runat="server">
                        </asp:Label></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px; height: 24px;">&nbsp;预约家访时间：</td>
                        <td style="width: 344px; height: 24px;">&nbsp;<asp:Label ID="lblBespokeDate" runat="server"
                            Width="69px" Height="20"></asp:Label>&nbsp;
                            <asp:Label ID="lblBespokeTime" runat="server" Height="20px"></asp:Label></td>
                        <td class="list_data_bg_left" style="width: 188px; height: 24px;">家访间隔：</td>
                        <td style="width: 344px; height: 24px;">&nbsp;<asp:Label ID="lblFrequency" runat="server"
                            Width="16px" Style=""></asp:Label>
                            天</td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px; height: 24px">&nbsp;疾病种别：</td>
                        <td colspan="3" style="height: 24px">&nbsp;<asp:Label ID="lblDisease" runat="server"
                            Height="20px"></asp:Label></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px">
                            健康建议：</td>
                        <td colspan="3">&nbsp;<input id="btnFood" type="button" value="饮食指导" onclick="javascript:openMemberFood('<%=lblMemId.Text%>');" />
                            &nbsp;
                            <input id="btnDisease" type="button" value="疾病种别" onclick="javascript:openMemberDisease('<%=lblMemId.Text%>');" />
                            &nbsp;&nbsp;
                            <input id="btnLife" type="button" value="生活建议" onclick="javascript:openMemberLife('<%=lblMemId.Text%>');" />
                            &nbsp;&nbsp;
                              <input id="Button1" type="button" value="病 历" onclick="javascript:openMemberCaseHistory('<%=lblMemId.Text%>');" style="width: 73px" />
                          </td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;实际家访时间：</td>
                        <td colspan="3" style="width: 344px; height: 26px">&nbsp;<asp:TextBox ID="txtFactDate"
                            runat="server" Width="69px" MaxLength="10"></asp:TextBox>&nbsp;&nbsp;
                            <asp:DropDownList ID="lstFactTime" runat="server">
                            </asp:DropDownList></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="height: 50px; width: 5px;"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;健康提醒：</td>
                        <td style="height: 26px; width: 344px;" colspan="3">&nbsp;<asp:TextBox ID="txtMemo"
                            runat="server" Width="360px" Rows="3" TextMode="MultiLine" ReadOnly="true"></asp:TextBox>&nbsp;</td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="height: 50px; width: 5px;"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;家访建议：</td>
                        <td style="height: 26px; width: 344px;" colspan="3">&nbsp;<asp:TextBox ID="txtAdvice"
                            runat="server" Width="360px" Rows="3" TextMode="MultiLine"></asp:TextBox></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="height: 50px; width: 5px;"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;家访记录：</td>
                        <td style="height: 26px; width: 344px;" colspan="3">&nbsp;<asp:TextBox ID="txtConclusion"
                            runat="server" Width="360px" Rows="3" TextMode="MultiLine"></asp:TextBox></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="height: 50px; width: 5px;"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;上级医生意见：</td>
                        <td style="height: 26px; width: 344px;" colspan="3">&nbsp;<asp:TextBox ID="txtSuperiorOpinion"
                            runat="server" Width="360px" Rows="3" TextMode="MultiLine" ReadOnly="false"></asp:TextBox></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" colspan="4">
                            <table id="tblBespoke" visible="false" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td class="list_data_bg_left" style="width: 22%">下次家访时间：</td>
                                    <td style="width: 1940px">&nbsp;<asp:TextBox ID="txtNextDate" runat="server" Width="69px"
                                        MaxLength="10"></asp:TextBox>&nbsp;&nbsp;
                                        <asp:DropDownList ID="lstNextTime" runat="server">
                                        </asp:DropDownList></td>
                                </tr>
                            </table>
                        </td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td class="list_data_bg_left" style="width: 1120px">&nbsp;修改次数：</td>
                        <td colspan="3" style="width: 344px; height: 26px">&nbsp;<asp:Label ID="lblEditCount"
                            runat="server">
                        </asp:Label>
                            次</td>
                        <td style="height: 24px"></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" style="">
                <asp:Button ID="btnOk" runat="server" Text="  保 存  " Height="22px" Width="89px" CssClass="button"
                    OnClick="btnOk_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnFin" runat="server" Text="  完 成  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnFin_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnSuperior" runat="server" Text="  上级意见  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnSuperior_Click" />
                &nbsp; &nbsp;
                <asp:Button ID="btnBack" runat="server" Text="  返 回  " Height="22px" Width="89px"
                    CssClass="button" OnClick="btnBack_Click" /></td>
        </tr>
    </table>
</asp:Content>
